var gbSubTitle = ui("gbSubTitle");
var gbMain = ui("gbMain");
var rootview = ui("$");
var helperOpen = require("helper/open");
//var bgArr = ["1acdd1FF","fe8220FF","7f55dfFF"];
var do_ALayout_2 = ui("do_ALayout_2");
var gbimage = ui("gbimage");
rootview.setMapping({
	"gbTitle.text":"title",
	"gbSubTitle.tag":"oidx",
	"gbSubTitle.text":"remark",
	"do_ALayout_2.tag":"fileDomain",
	"gbimage.source":"pathImg",
	"gbMain.tag":"id"
});

var gbMain = ui("gbMain");
gbMain.on("touch", function(data){
	helperOpen.open("source://view/mall/search/subjectProductSearch.ui",{subjectId:gbMain.tag});
});